package me.zhengjie.modules.customer.repository;

import me.zhengjie.modules.customer.domain.TCustomerUser;
import me.zhengjie.modules.system.domain.Permission;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
* @author xuyukun
* @date 2019-07-21
*/
public interface TCustomerUserRepository extends JpaRepository<TCustomerUser, Long>, JpaSpecificationExecutor {
    TCustomerUser findByUsername(String username);
    TCustomerUser findByAccount(String account);

   // List<TCustomerUser> findByAccountList(String account);
}
